package com.rent.rent_back_end.common;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: 王榄
 * @Date: 2023/02/06/12:54
 * @Description:
 */
@Data
public class Result {
    //状态码
    private Integer code;
    //数据
    private Object data;
    //信息
    private String message;
    public Result(Integer code,Object data,String message){
        this.code = code;
        this.data = data;
        this.message = message;
    }
}
